package net.cyue.homework.student.management.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

public class JobAddDTO {
    @NotNull
    @NotBlank
    private String name;

    public JobAddDTO() {}

    public JobAddDTO(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
